package ca.jsbr.as2js_lib.event
{
	/**
	 * ...
	 * @author ...
	 */
	public class BasicEvent 
	{
		static public const READY:String = "ready";
		
		private var _type:String;
		private var _currentTarget:Object;
		private var _skip:Boolean;
		
		public function BasicEvent(type:String) 
		{
			_type = type;
			
		}
		
		public function get type():String 
		{
			return _type;
		}
		
		public function get currentTarget():Object 
		{
			return _currentTarget;
		}
		
		public function set currentTarget(value:Object):void 
		{
			_currentTarget = value;
		}
		
		public function get skip():Boolean 
		{
			return _skip;
		}
		
		public function stopPropagation():void
		{
			_skip = true;
		}
		
	}

}